مشخصات فیلم
-
5509
-
1281
-
0
-
0.0
-
0
دانلود فیلم آموزش Integrating PHP with Databases
Teamtreehouse - Integrating PHP with Databases
مدرس:Alena Holligan
ایجاد یک صفحه ی مبتنی بر زبان PHP اولین گام برای تسلط بر PHP می باشد. قدرت واقعی PHP زمانی آشکار می شود که آن را به یک منبع داده از قبیل API و یا یک دیتابیس متصل می نمایید. به منظور آشنایی کاربر با دیتابیس، مدرس از یک پروژه ی نمونه استفاده خواهد نمود. این پروژه، با جایگزینیِ یک آرایه ی انجمنی با یک دیتابیس، و به منظور فراهم نمودنِ یک ابزار قوی تر و مقیاس پذیرتر برای ذخیره ی داده ها در کتابخانه ی مدیا، مجددا فاکتورگیری و ویرایش خواهد شد. در این فرایند، چگونگی استفاده از PDO، که نسخه ی توسعه یافته ی PHP برای ارتباط با یک دیتابیس می باشد، آموزش داده می شود. همچنین، توضیحاتی در رابطه با دیتابیس های رابطه ای (Relational Database) از قبیل نحوه ی جست و جوی داده ها در بینِ جداول متعدد، و همچنین چگونگی افزودن ویژگی های رایج وب سایت ها، مانند فرم های جستجو و صفحه بندی، برای کاربر توضیحاتی ارائه خواهد شد.
سرفصل های دوره:
- دیتابیس ها و PHP
- کوئری نمودنِ دیتابیس ها با استفاده از PHP
- استفاده از جداول رابطه ای (Relational Tables)
- نحوه ی محدود کردن رکوردها در SQL
- متغیر ها و محاسبات
- فیلتر کردن ورودی برای کوئری ها
- و…
Building a PHP-driven page is the first step in mastering PHP. The true power of PHP shines when you connect it to a data source like an API or a Database. To introduce you to databases, we'll use an example project -- a Personal Media Library application. We'll refactor this project by replacing an associative array with a database to provide a more robust and scalable tool to store the data in the media library. In the process, you'll learn how to use PDO -- a PHP extension to communicate with a database. You'll also learn about relational databases including how to search for data across multiple tables, as well as how to add common web site features like search forms and pagination. overview:
Databases and PHP Getting to Know the Project Introducing Objects Working with Objects Getting Started with PDO PHP & Databases with PDO Handling Exceptions More Exceptions Exception Handling Querying the Database with PHP Querying the Database Retrieving Data Retrieving the Result Set Working with Query Results Working with Results Integrating Database Results Improve with Refactoring Refactoring Using Relational Tables Understanding Relationship Tables Relational Data Querying Multiple Tables with JOIN JOINing Tables Understanding SQL Injections SQL Injection Preparing SQL Statements Using a Prepared Statement Adding a Secondary Query Fetching in a While Loop Fetching Many Relationships Limiting Records in SQL Getting Specific with Queries Filtering Data by Category Filtering Data Setting Up Pagination Variables Calculations and Links Variable and Calculations Setting LIMITs LIMIT and OFFSET Adding Pagination Links Pagination Function Challenge Simplifying with a Function Pagination Filtering Input for Queries Setting Up the Search Form Matching Search Patterns Finding Data that Matches a Pattern Creating the Search Function Accounting for Empty Results Multiple Conditionals Combining Search and Pagination Final Quiz